<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


    <s:iterator value="#list" var="obj" status="sta">
                 <tr>
            <td>
                <div class="button-group">
                  <button type="button" class="button button-little bg-blue dropdown-toggle">操作 <span class="downward"></span></button>
                  <ul class="drop-menu">
	                    <%-- <li><a href="javascript:void(0);" onclick="javascript:$showdialogs($(this));" 
	                    data-url="" data-toggle="click" data-mask="1" data-width="600px"><span class="icon-caret-right"></span> 微信支付</a></li> --%>
	                    <li><a href="javascript:void(0);" onclick="javascript:$showdialogs($(this));" 
	                    data-url="cashierDesk!toOrderPay.do?orderSn=${obj[5] }&pay_method=5&discount=${obj[4]}&moneyNum=${obj[3]}" data-toggle="click" data-mask="1" data-width="600px"><span class="icon-caret-right"></span> 支付宝</a></li>
	                    <%-- <li><a href="javascript:void(0);" onclick="javascript:$showdialogs($(this));" 
	                    data-url="" data-toggle="click" data-mask="1" data-width="600px"><span class="icon-caret-right"></span> 银联卡</a></li> --%>
	                    <li><a href="javascript:void(0);" onclick="javascript:$showdialogs($(this));" 
	                    data-url="cashierDesk!toXianJin.do?orderSn=${obj[5] }&pay_method=5&discount=${obj[4]}&moneyNum=${obj[3]}&memberId=${obj[1]}" data-toggle="click" data-mask="1" data-width="600px"><span class="icon-caret-right"></span> 现金</a></li>
                     <s:if test="#obj[1]!=''">
	                    <%-- <li><a href="javascript:void(0);" onclick="javascript:$showdialogs($(this));" 
	                    data-url="" data-toggle="click" data-mask="1" data-width="600px"><span class="icon-caret-right"></span> 积分抵现</a></li> --%>
	                    <li><a href="javascript:void(0);" onclick="javascript:$showdialogs($(this));" 
	                    data-url="cashierDesk!toMemberCard.do?orderSn=${obj[5] }&pay_method=5&discount=${obj[4]}&moneyNum=${obj[3]}&memberId=${obj[1]}" data-toggle="click" data-mask="1" data-width="600px"><span class="icon-caret-right"></span> 会员卡余额</a></li>
                   	 </s:if>
                </ul>
                </div>
            </td>
            <td>${sta.count }</td>
            <td>${obj[0] }</td>
            <s:if test="#obj[1]==''">
            <td>散客</td>
            </s:if>
            <s:else>
            <td>${obj[2] }</td>
            </s:else>
            <td>${obj[3] }</td>
            <!-- <td>30.00</td> -->
           
            <td>${obj[4] }</td>
           
            
            <td>${obj[5] }</td>
        </tr>
        </s:iterator>
